API

Procurement APIs

GET procurement/quote-requests/{purchaseQuoteRequestId}

Purchase quote request details for provided identifier

HTTP method GET
URI https://api.rambase.net/procurement/quote-requests/{purchaseQuoteRequestId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {purchaseQuoteRequestId} Purchase quote request identifier
Integer, minimum 100000
Custom fields Custom fields supported
Successful HTTP status code 200
API resource identifier 601, version 21

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$showCustomFields Boolean, optional Set to "true" to include custom fields. Default value is false.

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<PurchaseQuoteRequest>
2
     <PurchaseQuoteRequestId
PurchaseQuoteRequestId

Purchase quote request identifier

>
{Integer}</PurchaseQuoteRequestId>
3
     <Status
Status

Status of purchase quote request

Possible domain values can be found here

>
{Integer}</Status>
4
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
5
     <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
6
     <SuppliersReference
SuppliersReference

Suppliers/sellers reference. Typically a person.

>
{String}</SuppliersReference>
7
     <Currency
Currency

Three character code following the ISO 4217 standard

Possible domain values can be found here

>
{String}</Currency>
8
     <Note
Note

Additional information regarding the object (free text). This note might be visible to customers/suppliers.

>
{String}</Note>
9
     <Assignee
Assignee

The user who has been assigned to work with this object.

>
10
          <UserId
UserId

User identifier

>
{Integer}</UserId>
11
          <Name
Name

Name of the user

>
{String}</Name>
12
          <FirstName
FirstName

First name of the user

>
{String}</FirstName>
13
          <UserLink
UserLink

User reference

>
{String}</UserLink>
14
     </Assignee>
15
     <Validity>
16
          <ExpirationDate
ExpirationDate

Expiration date for responding to the purchase quote request.

>
{Date}</ExpirationDate>
17
     </Validity>
18
     <Supplier>
19
          <SupplierId
SupplierId

RamBase supplier identifier

>
{Integer}</SupplierId>
20
          <Name
Name

Name of supplier (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
21
          <Firstname
Firstname

Firstname/givenname if the supplier is a person

>
{String}</Firstname>
22
          <Phone
Phone

Main phone number of the supplier

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Phone in your request URI to get this field

>
{String}</Phone>
23
          <Email
Email

Main email address to the supplier

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Email in your request URI to get this field

>
{String}</Email>
24
          <Invoicing
Invoicing

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
25
               <DefaultInvoiceAddress
DefaultInvoiceAddress

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
26
                    <Attention
Attention

Attention note.

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
{String}</Attention>
27
                    <AddressLine1
AddressLine1

First address line

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
{String}</AddressLine1>
28
                    <AddressLine2
AddressLine2

Second address line

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
{String}</AddressLine2>
29
                    <PostalCode
PostalCode

Postalcode/Postcode/ZIP

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
{String}</PostalCode>
30
                    <City
City

City/town/village

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
{String}</City>
31
                    <Region
Region

Region/province/state

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
{String}</Region>
32
                    <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
{String}</CountryCode>
33
                    <Country
Country

English name of country.

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

>
{String}</Country>
34
               </DefaultInvoiceAddress>
35
          </Invoicing>
36
          <SupplierLink
SupplierLink

Supplier reference

>
{String}</SupplierLink>
37
     </Supplier>
38
     <Totals>
39
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
40
          <TotalAmount
TotalAmount

The total amount in object currency, including VAT

>
{Decimal}</TotalAmount>
41
     </Totals>
42
     <TotalsConverted
TotalsConverted

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
43
          <Currency
Currency

Currency used in conversion. Default is company accounting currency. Three character code following the ISO 4217 standard.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{String}</Currency>
44
          <ExchangeRate
ExchangeRate

The exchange rate used in convertion

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{Decimal}</ExchangeRate>
45
          <TotalAmount
TotalAmount

The total amount in company currency, including VAT.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{Decimal}</TotalAmount>
46
     </TotalsConverted>
47
     <Shipment>
48
          <DeliveryTerms
DeliveryTerms

Default delivery terms for the supplier. The delivery terms is based on the Incoterms rules from ICC (International Chamber of Commerce).

Possible domain values can be found here

>
{String}</DeliveryTerms>
49
          <DeliveryTermPlace
DeliveryTermPlace

A named place, which, together with the content of Delivery terms, determines where and when the costs, responsibility and risk for a shipment are transferred from the seller to the buye

>
{String}</DeliveryTermPlace>
50
          <ShippingService>
51
               <ShippingServiceId
ShippingServiceId

Shipping service identifier

>
{Integer}</ShippingServiceId>
52
               <Name
Name

Name of shipping service

>
{String}</Name>
53
               <Carrier>
54
                    <CarrierId
CarrierId

Carrier identifier

>
{Integer}</CarrierId>
55
                    <Name
Name

Name of carrier

This field is greyed out because it is an expandable field. You have to add $expand=Shipment.ShippingService.Carrier.Name in your request URI to get this field

>
{String}</Name>
56
                    <CarrierLink
CarrierLink

Carrier reference

>
{String}</CarrierLink>
57
               </Carrier>
58
               <ShippingServiceLink
ShippingServiceLink

Shipping service reference

>
{String}</ShippingServiceLink>
59
          </ShippingService>
60
     </Shipment>
61
     <HighlightedNotification
HighlightedNotification

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
62
          <NotificationId
NotificationId

Notification identifier

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{Integer}</NotificationId>
63
          <Status
Status

Status of the notification

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{Integer}</Status>
64
          <CreatedAt
CreatedAt

Date and time of creation

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{Datetime}</CreatedAt>
65
          <Message
Message

The message from the notification definition, expanded with parameters.

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{String}</Message>
66
          <TranslatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{String}</TranslatedMessage>
67
          <NotificationType
NotificationType

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
68
               <NotificationTypeId
NotificationTypeId

Notification type identifier

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{String}</NotificationTypeId>
69
               <Category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{String}</Category>
70
               <NotificationTypeLink
NotificationTypeLink

Notification type reference

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{String}</NotificationTypeLink>
71
          </NotificationType>
72
          <NotificationLink
NotificationLink

Notification reference

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

>
{String}</NotificationLink>
73
     </HighlightedNotification>
74
</PurchaseQuoteRequest>
1
{
2
     "purchaseQuoteRequest": {
3
          "purchaseQuoteRequestId
PurchaseQuoteRequestId

Purchase quote request identifier

":
"{Integer}",
4
          "status
Status

Status of purchase quote request

Possible domain values can be found here

":
"{Integer}",
5
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
6
          "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
7
          "suppliersReference
SuppliersReference

Suppliers/sellers reference. Typically a person.

":
"{String}",
8
          "currency
Currency

Three character code following the ISO 4217 standard

Possible domain values can be found here

":
"{String}",
9
          "note
Note

Additional information regarding the object (free text). This note might be visible to customers/suppliers.

":
"{String}",
10
          "assignee
Assignee

The user who has been assigned to work with this object.

":
{
11
               "userId
UserId

User identifier

":
"{Integer}",
12
               "name
Name

Name of the user

":
"{String}",
13
               "firstName
FirstName

First name of the user

":
"{String}",
14
               "userLink
UserLink

User reference

":
"{String}"
15
          },
16
          "validity": {
17
               "expirationDate
ExpirationDate

Expiration date for responding to the purchase quote request.

":
"{Date}"
18
          },
19
          "supplier": {
20
               "supplierId
SupplierId

RamBase supplier identifier

":
"{Integer}",
21
               "name
Name

Name of supplier (name of company or surname/familyname/lastname of a person)

":
"{String}",
22
               "firstname
Firstname

Firstname/givenname if the supplier is a person

":
"{String}",
23
               "phone
Phone

Main phone number of the supplier

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Phone in your request URI to get this field

":
"{String}",
24
               "email
Email

Main email address to the supplier

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Email in your request URI to get this field

":
"{String}",
25
               "invoicing
Invoicing

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
{
26
                    "defaultInvoiceAddress
DefaultInvoiceAddress

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
{
27
                         "attention
Attention

Attention note.

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
"{String}",
28
                         "addressLine1
AddressLine1

First address line

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
"{String}",
29
                         "addressLine2
AddressLine2

Second address line

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
"{String}",
30
                         "postalCode
PostalCode

Postalcode/Postcode/ZIP

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
"{String}",
31
                         "city
City

City/town/village

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
"{String}",
32
                         "region
Region

Region/province/state

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
"{String}",
33
                         "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
"{String}",
34
                         "country
Country

English name of country.

This field is greyed out because it is an expandable field. You have to add $expand=Supplier.Invoicing in your request URI to get this field

":
"{String}"
35
                    }
36
               },
37
               "supplierLink
SupplierLink

Supplier reference

":
"{String}"
38
          },
39
          "totals": {
40
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
41
               "totalAmount
TotalAmount

The total amount in object currency, including VAT

":
"{Decimal}"
42
          },
43
          "totalsConverted
TotalsConverted

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
{
44
               "currency
Currency

Currency used in conversion. Default is company accounting currency. Three character code following the ISO 4217 standard.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{String}",
45
               "exchangeRate
ExchangeRate

The exchange rate used in convertion

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{Decimal}",
46
               "totalAmount
TotalAmount

The total amount in company currency, including VAT.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{Decimal}"
47
          },
48
          "shipment": {
49
               "deliveryTerms
DeliveryTerms

Default delivery terms for the supplier. The delivery terms is based on the Incoterms rules from ICC (International Chamber of Commerce).

Possible domain values can be found here

":
"{String}",
50
               "deliveryTermPlace
DeliveryTermPlace

A named place, which, together with the content of Delivery terms, determines where and when the costs, responsibility and risk for a shipment are transferred from the seller to the buye

":
"{String}",
51
               "shippingService": {
52
                    "shippingServiceId
ShippingServiceId

Shipping service identifier

":
"{Integer}",
53
                    "name
Name

Name of shipping service

":
"{String}",
54
                    "carrier": {
55
                         "carrierId
CarrierId

Carrier identifier

":
"{Integer}",
56
                         "name
Name

Name of carrier

This field is greyed out because it is an expandable field. You have to add $expand=Shipment.ShippingService.Carrier.Name in your request URI to get this field

":
"{String}",
57
                         "carrierLink
CarrierLink

Carrier reference

":
"{String}"
58
                    },
59
                    "shippingServiceLink
ShippingServiceLink

Shipping service reference

":
"{String}"
60
               }
61
          },
62
          "highlightedNotification
HighlightedNotification

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
{
63
               "notificationId
NotificationId

Notification identifier

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{Integer}",
64
               "status
Status

Status of the notification

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{Integer}",
65
               "createdAt
CreatedAt

Date and time of creation

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{Datetime}",
66
               "message
Message

The message from the notification definition, expanded with parameters.

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{String}",
67
               "translatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{String}",
68
               "notificationType
NotificationType

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
{
69
                    "notificationTypeId
NotificationTypeId

Notification type identifier

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{String}",
70
                    "category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{String}",
71
                    "notificationTypeLink
NotificationTypeLink

Notification type reference

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{String}"
72
               },
73
               "notificationLink
NotificationLink

Notification reference

This field is greyed out because it is an expandable field. You have to add $expand=HighlightedNotification in your request URI to get this field

":
"{String}"
74
          }
75
     }
76
}

Possible error codes the response might return:

Error 100147 HTTP 404 Notification type not found
Error 100053 HTTP 403 You have only admittance to your own suppliers